package com.cloud.elm.feign.callback;

import com.cloud.elm.feign.UserFeignClient;
import com.cloud.elm.po.User;
import com.cloud.elm.utils.response.CodeEnum;
import com.cloud.elm.utils.response.ResultBody;
import org.springframework.stereotype.Component;

@Component
public class UserFeignClientCallback implements UserFeignClient {

    @Override
    public ResultBody<User> getUserInfoById(String userId) {
        return new ResultBody<>(CodeEnum.CALLBACK.getResultCode(), CodeEnum.CALLBACK.getResultMsg(), null);
    }
}
